<?php if($usuario->isLogged($_SESSION['id']))://LOGADO?>
<img class="avatar" alt="<?php echo $usuario->get_name();?>" src="<?php echo $usuario->get_avatar();?>" />
<h4>Perfil de Usu&aacute;rio</h4><br />
<form method="post" action="/config/functions.php">
	<fieldset class="formsAdd">
		<label>Nome: <input name="name" alt="Nome" type="text" title="Nome" value="<?php echo $usuario->get_name();?>" /></label><br />
		<label>Nome de Usu&aacute;rio: <input name="login" alt="Login" type="text" title="Login" disabled="disabled" value="<?php echo $usuario->get_username();?>" /></label><br />
		<label>E-Mail: <input name="email" alt="E-Mail" type="text" title="E-Mail" value="<?php echo  $usuario->get_email();?>" /></label><br />
		<label>Avatar: <input name="avatar" alt="Avatar" type="text" title="Avatar" value="<?php echo  $usuario->get_avatar();?>" /></label>
		<input name="id" type="hidden" value="<?php echo $usuario->get_idUser(); ?>" />
		<input name="module" type="hidden" value="perfil" />
		<input name="action" type="hidden" value="edit" />
		<label><input class="submit" type="submit" value="Editar" /></label>
	</fieldset>
</form>
<?php else:header("location:/home/p/home");endif;?>